<?php

	return CMap::mergeArray(
    require(dirname(__FILE__).'/main.php'), 
    array(
        'components'=>array(
            'db'=>array(
				'connectionString' => 'mysql:host=localhost;dbname=newsbagcn',
				'emulatePrepare' => true,
				'username' => 'root',
				'password' => 'root',
				'charset' => 'utf8',
				'tablePrefix' => 'nc_',
				'enableProfiling'=>true,
                'enableParamLogging'=>true,
			),


			/*'log'=>array(
				'class'=>'CLogRouter',
				'routes'=>array(
					array(
						'class'=>'CFileLogRoute',
						'levels'=>'error, warning',
					),
					 array(
                        'class'=>'CWebLogRoute',
                        'categories'=>'system.db.CDbCommand',
                        'showInFireBug'=>false,
                    ),
					
					array(
						'class'=>'CWebLogRoute',
					),
					

				),
			),*/
        ),
    )
); 